<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      const r1 = -100;
      console.log(r1);

      const r2 = +100; // Number(100)
      console.log(r2);

      const r3 = +"abc"; // Number(abc)
      console.log(r3); // NaN

      const r4 = +"120"; // Number("120")
      console.log(r4); // 120
    </script>
  </body>
</html>
